linux-perf: Remove remaining source filenames from executable
authorBen Hutchings <benh@debian.org>
Mon, 29 May 2023 22:16:39 +0000 (00:16 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Wed, 16 Jul 2025 07:13:16 +0000 (09:13 +0200)
commitce4b22c4c4cb95f75d4b278f10a441603ef90859
tree0c38be720a55febbc0f2bcd1843bee3754b151d6
parent546460311a377dd3547fd3319e679a6eabc8db3e
linux-perf: Remove remaining source filenames from executable

When we build perf with -ffile-prefix-map, there are still 2
source directory names embedded in the executable:

1. The Documentation subdirectory, used as a fallback from the
   installed location.
2. The python subdirectory, used in the Python script test.

Remove (1) since it is an unnecessary fallback.  Change (2)
to the installed location.

Gbp-Pq: Topic debian
Gbp-Pq: Name linux-perf-remove-remaining-source-filenames-from-executable.patch
tools/perf/Build
tools/perf/builtin-report.c
tools/perf/tests/Build